package work.huangxin.share.service;

import com.github.pagehelper.PageInfo;
import work.huangxin.share.domain.other.ArticleMessage;
import work.huangxin.share.domain.other.CommentMessage;
import work.huangxin.share.domain.other.NoticeMessage;

/**
* @author 钟声浩
* @date 2023/4/1 15:53
*/
public interface AdminArticleService {

    /**
     * 后台分页查询被举报的文章
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageInfo<ArticleMessage> selectPageArticleList(ArticleMessage articleMessage ,Integer pageNum, Integer pageSize);

    /**
     * 后台分页查询所有评论
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageInfo<CommentMessage> selectPageCommentList(CommentMessage commentMessage, Integer pageNum, Integer pageSize);
}
